package com.likui.boot.common.repository;

import java.util.HashMap;
import java.util.List;

public class DataSourceRequest {
	
	private int page;
    private int pageSize;
    private int take;
    private int skip;
    private HashMap<String, Object> data;
    private List<Sort> sort;
    private Filter filter;
    
    public DataSourceRequest() {
        data = new HashMap<String, Object>();
    }
    public HashMap<String, Object> getData() {
        return data;
    }
    public int getPage() {
        return page;
    }
    public int getPageSize() {
        return pageSize;
    }
    public int getTake() {
        return take;
    }
    public int getSkip() {
        return skip;
    }
    
    public List<Sort> getSort() {
        return sort;
    }

    public void setSort(List<Sort> sort) {
        this.sort = sort;
    }

    public Filter getFilter() {
        return filter;
    }

    public void setFilter(Filter filter) {
        this.filter = filter;
    }

    @Override
    public String toString() {
        return "KendoUiParam [page=" + page + ", pageSize=" + pageSize + ", skip=" + skip + ", take=" + take + ", sort=" + sort + ", filter=" + filter + "]";
    }

}
